import {
    RectNode,
    RectNodeModel
} from "@logicflow/core";
//自定义形状
class customRectModel extends RectNodeModel {
    initNodeData(data) {
        super.initNodeData(data);
        this.width = 200;
        this.height = 80;
        this.radius = 50;
    }
}
class customRectView extends RectNode {}
//自定义一个类型
export default {
    type: "customRect",
    view: customRectView,
    model: customRectModel
};